'use strict';

const Service = require('egg').Service;

class role extends Service {
  async list() {
    const { app } = this;
    const result = await app.mysql.select('role');
    return result;
  }
}

module.exports = role;
